<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	    <style>
			#box{
				height:100px;
				width:100px;
				background-color: red;
			}
		</style>
	</head>
	<body>
		<div id="box">111</div>
		<script type="text/javascript">
			//移动端事件
			//移动端 也可以用click,但是又 300ms 的延迟
			//1. touchstart 手指按下
			//2. touchend  手指抬起
			//3. touchmove  手指移动
			 box.ontouchstart=function(){
				 console.log("手指按下");
			 }
			 
			 box.ontouchend=function(){
			 	console.log("手指抬起");
			 }
			 
			 window.ontouchmove=function(){
				 console.log("手指移动");
			 }
		</script>
	</body>
</html>
